<a title="Close" class="boxy-close" href="javascript:void(0)" onclick="Boxy.get(this).hide();"></a>
<div class="wrap-folder-photos" style='width: 500px'>
    <?php if ($this->docs): ?>
        <?php foreach ($this->docs as $doc): ?>
            <div class="<?php echo $doc['file_type'] ?> file-new add-photo-label">
                <a href="<?php echo UPLOAD_URL . $doc['file'] ?>" target="_blank">
                    <?php echo $doc['file_name'] ?>
                </a>
            </div>
        <?php endforeach; ?>
    <?php endif; ?> 
</div>